﻿<Window x:Class="BotvaBot.RichUI.MainForm"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1" Height="408" Width="613">
    <Grid x:Name="MainGrid"  Height="359" Width="560">
        <Grid.RowDefinitions>
            <RowDefinition Height="75"></RowDefinition>
            <RowDefinition Height="200"></RowDefinition>
            <RowDefinition Height="50"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>

        <Grid x:Name="gSelection" Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Center">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="200"></ColumnDefinition>
                <ColumnDefinition Width="10"></ColumnDefinition>
                <ColumnDefinition Width="90"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="25"></RowDefinition>
                <RowDefinition Height="5"></RowDefinition>
                <RowDefinition Height="35"></RowDefinition>
            </Grid.RowDefinitions>
            
            <Label Grid.Row="0">Select Personaj</Label>
            <ComboBox Grid.Row="2" Name="lbxPersonajes" Height="20" ItemsSource="{Binding Path=PersinajConfigs}" DisplayMemberPath="Name">
            </ComboBox>
            <Button Name="Login" Grid.Column="2" Grid.Row="2" Height="20" Width="50" 
                    VerticalAlignment="Center" HorizontalAlignment="Right"
                    Click="Login_Click">Login</Button>
        </Grid>

        <Grid Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="120"></ColumnDefinition>
                <ColumnDefinition Width="20"></ColumnDefinition>
                <ColumnDefinition Width="160"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="25"></RowDefinition>
                <RowDefinition Height="25"></RowDefinition>
                <RowDefinition Height="25"></RowDefinition>
                <RowDefinition Height="25"></RowDefinition>
                <RowDefinition Height="25"></RowDefinition>
                <RowDefinition Height="25"></RowDefinition>
                <RowDefinition Height="25"></RowDefinition>
            </Grid.RowDefinitions>
            
            <TextBox Name="txtMoney" Width="150" Height="20" Grid.Column="2" Grid.Row="0" VerticalAlignment="Center" HorizontalAlignment="Left" 
                     Text="{Binding Path=Personaj.Money, Mode=TwoWay}"></TextBox>
            <TextBox Name="txtKristaly" Width="150" Height="20" Grid.Column="2" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Left" 
                     Text="{Binding Path=Personaj.Kristaly, Mode=TwoWay}"></TextBox>
            <TextBox Name="txtPirashki" Width="150" Height="20" Grid.Column="2" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Left" 
                     Text="{Binding Path=Personaj.Pirashki, Mode=TwoWay}"></TextBox>
            <TextBox Name="txtKapusta" Width="150" Height="20" Grid.Column="2" Grid.Row="3" VerticalAlignment="Center" HorizontalAlignment="Left" 
                     Text="{Binding Path=Personaj.Kapusta, Mode=TwoWay}"></TextBox>
            
            <TextBox Name="txtZdorovie" Width="150" Height="20" Grid.Column="2" Grid.Row="4" VerticalAlignment="Center" HorizontalAlignment="Left" 
                     Text="{Binding Path=Personaj.Money, Mode=TwoWay}"></TextBox>
            <TextBox Name="txtLevel" Width="150" Height="20" Grid.Column="2" Grid.Row="5" VerticalAlignment="Center" HorizontalAlignment="Left" 
                     Text="{Binding Path=Personaj.Money, Mode=TwoWay}"></TextBox>
            <TextBox Name="txtlbZdorovieZver" Width="150" Height="20" Grid.Column="2" Grid.Row="6" VerticalAlignment="Center" HorizontalAlignment="Left" 
                     Text="{Binding Path=Personaj.Money, Mode=TwoWay}"></TextBox>
            
            <Label Name="lbMoney" Grid.Column="0" Grid.Row="0" VerticalAlignment="Center" HorizontalAlignment="Right">Money</Label>
            <Label Name="lbKristaly" Grid.Column="0" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Right">Kristaly</Label>
            <Label Name="lbPirashki" Grid.Column="0" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Right">Pirashki</Label>
            <Label Name="lbKapusta" Grid.Column="0" Grid.Row="3" VerticalAlignment="Center" HorizontalAlignment="Right">Kapusta</Label>
            
            <Label Name="lbZdorovie" Grid.Column="0" Grid.Row="4" VerticalAlignment="Center" HorizontalAlignment="Right">Zdorovie (%)</Label>
            <Label Name="lbLevel" Grid.Column="0" Grid.Row="5" VerticalAlignment="Center" HorizontalAlignment="Right">Level</Label>
            <Label Name="lbZdorovieZver" Grid.Column="0" Grid.Row="6" VerticalAlignment="Center" HorizontalAlignment="Right">Zdorovie Zver (%)</Label>

        </Grid>
        
        <Button Name="btnShowCommands" Grid.Row="2" Grid.Column="0" Height="30" Width="150"
                Command="{Binding ShowCommandsWindow}">
            Show Commands
        </Button>
    </Grid>
</Window>
